<template>
   <div>
     <Student name="李四" sex="女" :age="18"></Student>
     <hr/>
     <Student name="王五" sex="男" :age="20"></Student>
   </div>
</template>

<script>
import Student from "./components/Student";

export default {
  name: "App",
  data(){
     return {
      msg:'欢迎学习vue'
    }
  },
  //汇总所有的组件
  components:{
    Student,
  }
}
</script>

